<?php

/**
 * 配置路由规则
 * @category PhalconCMS
 * @copyright Copyright (c) 2016 PhalconCMS team (http://www.marser.cn)
 * @license GNU General Public License 2.0
 * @link www.marser.cn
 *
 * 实例 ：支持正则
 * $key => array("controller" => "", "action" => "")
 */
return [
    '/Api/:controller/:action/:params' => [
        'namespace'  => 'Admin\Controllers\Api',
        'controller' => 1,
        'action'     => 2,
        'params'     => 3,
    ],
    '/Api/:controller/:action' => [
        'namespace'  => 'Admin\Controllers\Api',
        'controller' => 1,
        'action'     => 2,
    ]
];
